3.2.54 \(\int \frac {1}{x \sqrt {b \sqrt [3]{x}+a x}} \, dx\) [154]

Optimal. Leaf size=294 \[ \frac {6 \sqrt {a} \left (b+a x^{2/3}\right ) \sqrt [3]{x}}{b \left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right ) \sqrt {b \sqrt [3]{x}+a x}}-\frac {6 \sqrt {b \sqrt [3]{x}+a x}}{b \sqrt [3]{x}}-\frac {6 \sqrt [4]{a} \left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right ) \sqrt {\frac {b+a x^{2/3}}{\left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right )^2}} \sqrt [6]{x} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{a} \sqrt [6]{x}}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{b^{3/4} \sqrt {b \sqrt [3]{x}+a x}}+\frac {3 \sqrt [4]{a} \left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right ) \sqrt {\frac {b+a x^{2/3}}{\left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right )^2}} \sqrt [6]{x} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{a} \sqrt [6]{x}}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{b^{3/4} \sqrt {b \sqrt [3]{x}+a x}} \]

[Out]

6*(b+a*x^(2/3))*x^(1/3)*a^(1/2)/b/(x^(1/3)*a^(1/2)+b^(1/2))/(b*x^(1/3)+a*x)^(1/2)-6*(b*x^(1/3)+a*x)^(1/2)/b/x^
(1/3)-6*a^(1/4)*x^(1/6)*(cos(2*arctan(a^(1/4)*x^(1/6)/b^(1/4)))^2)^(1/2)/cos(2*arctan(a^(1/4)*x^(1/6)/b^(1/4))
)*EllipticE(sin(2*arctan(a^(1/4)*x^(1/6)/b^(1/4))),1/2*2^(1/2))*(x^(1/3)*a^(1/2)+b^(1/2))*((b+a*x^(2/3))/(x^(1
/3)*a^(1/2)+b^(1/2))^2)^(1/2)/b^(3/4)/(b*x^(1/3)+a*x)^(1/2)+3*a^(1/4)*x^(1/6)*(cos(2*arctan(a^(1/4)*x^(1/6)/b^
(1/4)))^2)^(1/2)/cos(2*arctan(a^(1/4)*x^(1/6)/b^(1/4)))*EllipticF(sin(2*arctan(a^(1/4)*x^(1/6)/b^(1/4))),1/2*2
^(1/2))*(x^(1/3)*a^(1/2)+b^(1/2))*((b+a*x^(2/3))/(x^(1/3)*a^(1/2)+b^(1/2))^2)^(1/2)/b^(3/4)/(b*x^(1/3)+a*x)^(1
/2)

________________________________________________________________________________________

Rubi [A]
time = 0.21, antiderivative size = 294, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.368, Rules used = {2043, 2050, 2057, 335, 311, 226, 1210} \begin {gather*} \frac {3 \sqrt [4]{a} \sqrt [6]{x} \left (\sqrt {a} \sqrt [3]{x}+\sqrt {b}\right ) \sqrt {\frac {a x^{2/3}+b}{\left (\sqrt {a} \sqrt [3]{x}+\sqrt {b}\right )^2}} F\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{a} \sqrt [6]{x}}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{b^{3/4} \sqrt {a x+b \sqrt [3]{x}}}-\frac {6 \sqrt [4]{a} \sqrt [6]{x} \left (\sqrt {a} \sqrt [3]{x}+\sqrt {b}\right ) \sqrt {\frac {a x^{2/3}+b}{\left (\sqrt {a} \sqrt [3]{x}+\sqrt {b}\right )^2}} E\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{a} \sqrt [6]{x}}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{b^{3/4} \sqrt {a x+b \sqrt [3]{x}}}+\frac {6 \sqrt {a} \sqrt [3]{x} \left (a x^{2/3}+b\right )}{b \left (\sqrt {a} \sqrt [3]{x}+\sqrt {b}\right ) \sqrt {a x+b \sqrt [3]{x}}}-\frac {6 \sqrt {a x+b \sqrt [3]{x}}}{b \sqrt [3]{x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(x*Sqrt[b*x^(1/3) + a*x]),x]

[Out]

(6*Sqrt[a]*(b + a*x^(2/3))*x^(1/3))/(b*(Sqrt[b] + Sqrt[a]*x^(1/3))*Sqrt[b*x^(1/3) + a*x]) - (6*Sqrt[b*x^(1/3)
+ a*x])/(b*x^(1/3)) - (6*a^(1/4)*(Sqrt[b] + Sqrt[a]*x^(1/3))*Sqrt[(b + a*x^(2/3))/(Sqrt[b] + Sqrt[a]*x^(1/3))^
2]*x^(1/6)*EllipticE[2*ArcTan[(a^(1/4)*x^(1/6))/b^(1/4)], 1/2])/(b^(3/4)*Sqrt[b*x^(1/3) + a*x]) + (3*a^(1/4)*(
Sqrt[b] + Sqrt[a]*x^(1/3))*Sqrt[(b + a*x^(2/3))/(Sqrt[b] + Sqrt[a]*x^(1/3))^2]*x^(1/6)*EllipticF[2*ArcTan[(a^(
1/4)*x^(1/6))/b^(1/4)], 1/2])/(b^(3/4)*Sqrt[b*x^(1/3) + a*x])

Rule 226

Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b/a, 4]}, Simp[(1 + q^2*x^2)*(Sqrt[(a + b*x^4)/(a*(
1 + q^2*x^2)^2)]/(2*q*Sqrt[a + b*x^4]))*EllipticF[2*ArcTan[q*x], 1/2], x]] /; FreeQ[{a, b}, x] && PosQ[b/a]

Rule 311

Int[(x_)^2/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b/a, 2]}, Dist[1/q, Int[1/Sqrt[a + b*x^4], x],
 x] - Dist[1/q, Int[(1 - q*x^2)/Sqrt[a + b*x^4], x], x]] /; FreeQ[{a, b}, x] && PosQ[b/a]

Rule 335

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = Denominator[m]}, Dist[k/c, Subst[I
nt[x^(k*(m + 1) - 1)*(a + b*(x^(k*n)/c^n))^p, x], x, (c*x)^(1/k)], x]] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0]
 && FractionQ[m] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 1210

Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 4]}, Simp[(-d)*x*(Sqrt[a +
 c*x^4]/(a*(1 + q^2*x^2))), x] + Simp[d*(1 + q^2*x^2)*(Sqrt[(a + c*x^4)/(a*(1 + q^2*x^2)^2)]/(q*Sqrt[a + c*x^4
]))*EllipticE[2*ArcTan[q*x], 1/2], x] /; EqQ[e + d*q^2, 0]] /; FreeQ[{a, c, d, e}, x] && PosQ[c/a]

Rule 2043

Int[(x_)^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)
/n] - 1)*(a*x^Simplify[j/n] + b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, j, m, n, p}, x] &&  !IntegerQ[p] && NeQ[
n, j] && IntegerQ[Simplify[j/n]] && IntegerQ[Simplify[(m + 1)/n]] && NeQ[n^2, 1]

Rule 2050

Int[((c_.)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Simp[c^(j - 1)*(c*x)^(m - j +
1)*((a*x^j + b*x^n)^(p + 1)/(a*(m + j*p + 1))), x] - Dist[b*((m + n*p + n - j + 1)/(a*c^(n - j)*(m + j*p + 1))
), Int[(c*x)^(m + n - j)*(a*x^j + b*x^n)^p, x], x] /; FreeQ[{a, b, c, m, p}, x] &&  !IntegerQ[p] && LtQ[0, j,
n] && (IntegersQ[j, n] || GtQ[c, 0]) && LtQ[m + j*p + 1, 0]

Rule 2057

Int[((c_.)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Dist[c^IntPart[m]*(c*x)^FracPa
rt[m]*((a*x^j + b*x^n)^FracPart[p]/(x^(FracPart[m] + j*FracPart[p])*(a + b*x^(n - j))^FracPart[p])), Int[x^(m
+ j*p)*(a + b*x^(n - j))^p, x], x] /; FreeQ[{a, b, c, j, m, n, p}, x] &&  !IntegerQ[p] && NeQ[n, j] && PosQ[n
- j]

Rubi steps

\begin {align*} \int \frac {1}{x \sqrt {b \sqrt [3]{x}+a x}} \, dx &=3 \text {Subst}\left (\int \frac {1}{x \sqrt {b x+a x^3}} \, dx,x,\sqrt [3]{x}\right )\\ &=-\frac {6 \sqrt {b \sqrt [3]{x}+a x}}{b \sqrt [3]{x}}+\frac {(3 a) \text {Subst}\left (\int \frac {x}{\sqrt {b x+a x^3}} \, dx,x,\sqrt [3]{x}\right )}{b}\\ &=-\frac {6 \sqrt {b \sqrt [3]{x}+a x}}{b \sqrt [3]{x}}+\frac {\left (3 a \sqrt {b+a x^{2/3}} \sqrt [6]{x}\right ) \text {Subst}\left (\int \frac {\sqrt {x}}{\sqrt {b+a x^2}} \, dx,x,\sqrt [3]{x}\right )}{b \sqrt {b \sqrt [3]{x}+a x}}\\ &=-\frac {6 \sqrt {b \sqrt [3]{x}+a x}}{b \sqrt [3]{x}}+\frac {\left (6 a \sqrt {b+a x^{2/3}} \sqrt [6]{x}\right ) \text {Subst}\left (\int \frac {x^2}{\sqrt {b+a x^4}} \, dx,x,\sqrt [6]{x}\right )}{b \sqrt {b \sqrt [3]{x}+a x}}\\ &=-\frac {6 \sqrt {b \sqrt [3]{x}+a x}}{b \sqrt [3]{x}}+\frac {\left (6 \sqrt {a} \sqrt {b+a x^{2/3}} \sqrt [6]{x}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {b+a x^4}} \, dx,x,\sqrt [6]{x}\right )}{\sqrt {b} \sqrt {b \sqrt [3]{x}+a x}}-\frac {\left (6 \sqrt {a} \sqrt {b+a x^{2/3}} \sqrt [6]{x}\right ) \text {Subst}\left (\int \frac {1-\frac {\sqrt {a} x^2}{\sqrt {b}}}{\sqrt {b+a x^4}} \, dx,x,\sqrt [6]{x}\right )}{\sqrt {b} \sqrt {b \sqrt [3]{x}+a x}}\\ &=\frac {6 \sqrt {a} \left (b+a x^{2/3}\right ) \sqrt [3]{x}}{b \left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right ) \sqrt {b \sqrt [3]{x}+a x}}-\frac {6 \sqrt {b \sqrt [3]{x}+a x}}{b \sqrt [3]{x}}-\frac {6 \sqrt [4]{a} \left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right ) \sqrt {\frac {b+a x^{2/3}}{\left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right )^2}} \sqrt [6]{x} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{a} \sqrt [6]{x}}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{b^{3/4} \sqrt {b \sqrt [3]{x}+a x}}+\frac {3 \sqrt [4]{a} \left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right ) \sqrt {\frac {b+a x^{2/3}}{\left (\sqrt {b}+\sqrt {a} \sqrt [3]{x}\right )^2}} \sqrt [6]{x} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{a} \sqrt [6]{x}}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{b^{3/4} \sqrt {b \sqrt [3]{x}+a x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
time = 10.04, size = 54, normalized size = 0.18 \begin {gather*} -\frac {6 \sqrt {1+\frac {a x^{2/3}}{b}} \, _2F_1\left (-\frac {1}{4},\frac {1}{2};\frac {3}{4};-\frac {a x^{2/3}}{b}\right )}{\sqrt {b \sqrt [3]{x}+a x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(x*Sqrt[b*x^(1/3) + a*x]),x]

[Out]

(-6*Sqrt[1 + (a*x^(2/3))/b]*Hypergeometric2F1[-1/4, 1/2, 3/4, -((a*x^(2/3))/b)])/Sqrt[b*x^(1/3) + a*x]

________________________________________________________________________________________

Maple [A]
time = 0.38, size = 253, normalized size = 0.86

method result size
derivativedivides \(-\frac {6 \left (b +a \,x^{\frac {2}{3}}\right )}{b \sqrt {x^{\frac {1}{3}} \left (b +a \,x^{\frac {2}{3}}\right )}}+\frac {3 \sqrt {-a b}\, \sqrt {\frac {\left (x^{\frac {1}{3}}+\frac {\sqrt {-a b}}{a}\right ) a}{\sqrt {-a b}}}\, \sqrt {-\frac {2 \left (x^{\frac {1}{3}}-\frac {\sqrt {-a b}}{a}\right ) a}{\sqrt {-a b}}}\, \sqrt {-\frac {x^{\frac {1}{3}} a}{\sqrt {-a b}}}\, \left (-\frac {2 \sqrt {-a b}\, \EllipticE \left (\sqrt {\frac {\left (x^{\frac {1}{3}}+\frac {\sqrt {-a b}}{a}\right ) a}{\sqrt {-a b}}}, \frac {\sqrt {2}}{2}\right )}{a}+\frac {\sqrt {-a b}\, \EllipticF \left (\sqrt {\frac {\left (x^{\frac {1}{3}}+\frac {\sqrt {-a b}}{a}\right ) a}{\sqrt {-a b}}}, \frac {\sqrt {2}}{2}\right )}{a}\right )}{b \sqrt {b \,x^{\frac {1}{3}}+a x}}\) \(195\)
default \(-\frac {3 \left (-2 \sqrt {x^{\frac {1}{3}} \left (b +a \,x^{\frac {2}{3}}\right )}\, \sqrt {\frac {a \,x^{\frac {1}{3}}+\sqrt {-a b}}{\sqrt {-a b}}}\, \sqrt {-\frac {2 \left (a \,x^{\frac {1}{3}}-\sqrt {-a b}\right )}{\sqrt {-a b}}}\, \sqrt {-\frac {x^{\frac {1}{3}} a}{\sqrt {-a b}}}\, \EllipticE \left (\sqrt {\frac {a \,x^{\frac {1}{3}}+\sqrt {-a b}}{\sqrt {-a b}}}, \frac {\sqrt {2}}{2}\right ) b +\sqrt {x^{\frac {1}{3}} \left (b +a \,x^{\frac {2}{3}}\right )}\, \sqrt {\frac {a \,x^{\frac {1}{3}}+\sqrt {-a b}}{\sqrt {-a b}}}\, \sqrt {-\frac {2 \left (a \,x^{\frac {1}{3}}-\sqrt {-a b}\right )}{\sqrt {-a b}}}\, \sqrt {-\frac {x^{\frac {1}{3}} a}{\sqrt {-a b}}}\, \EllipticF \left (\sqrt {\frac {a \,x^{\frac {1}{3}}+\sqrt {-a b}}{\sqrt {-a b}}}, \frac {\sqrt {2}}{2}\right ) b +2 \sqrt {b \,x^{\frac {1}{3}}+a x}\, x^{\frac {2}{3}} a +2 \sqrt {b \,x^{\frac {1}{3}}+a x}\, b \right )}{x^{\frac {1}{3}} \left (b +a \,x^{\frac {2}{3}}\right ) b}\) \(253\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x/(b*x^(1/3)+a*x)^(1/2),x,method=_RETURNVERBOSE)

[Out]

-3*(-2*(x^(1/3)*(b+a*x^(2/3)))^(1/2)*((a*x^(1/3)+(-a*b)^(1/2))/(-a*b)^(1/2))^(1/2)*(-2*(a*x^(1/3)-(-a*b)^(1/2)
)/(-a*b)^(1/2))^(1/2)*(-x^(1/3)*a/(-a*b)^(1/2))^(1/2)*EllipticE(((a*x^(1/3)+(-a*b)^(1/2))/(-a*b)^(1/2))^(1/2),
1/2*2^(1/2))*b+(x^(1/3)*(b+a*x^(2/3)))^(1/2)*((a*x^(1/3)+(-a*b)^(1/2))/(-a*b)^(1/2))^(1/2)*(-2*(a*x^(1/3)-(-a*
b)^(1/2))/(-a*b)^(1/2))^(1/2)*(-x^(1/3)*a/(-a*b)^(1/2))^(1/2)*EllipticF(((a*x^(1/3)+(-a*b)^(1/2))/(-a*b)^(1/2)
)^(1/2),1/2*2^(1/2))*b+2*(b*x^(1/3)+a*x)^(1/2)*x^(2/3)*a+2*(b*x^(1/3)+a*x)^(1/2)*b)/x^(1/3)/(b+a*x^(2/3))/b

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(b*x^(1/3)+a*x)^(1/2),x, algorithm="maxima")

[Out]

integrate(1/(sqrt(a*x + b*x^(1/3))*x), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(b*x^(1/3)+a*x)^(1/2),x, algorithm="fricas")

[Out]

integral((a^2*x^2 - a*b*x^(4/3) + b^2*x^(2/3))*sqrt(a*x + b*x^(1/3))/(a^3*x^4 + b^3*x^2), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x \sqrt {a x + b \sqrt [3]{x}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(b*x**(1/3)+a*x)**(1/2),x)

[Out]

Integral(1/(x*sqrt(a*x + b*x**(1/3))), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(b*x^(1/3)+a*x)^(1/2),x, algorithm="giac")

[Out]

integrate(1/(sqrt(a*x + b*x^(1/3))*x), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{x\,\sqrt {a\,x+b\,x^{1/3}}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x*(a*x + b*x^(1/3))^(1/2)),x)

[Out]

int(1/(x*(a*x + b*x^(1/3))^(1/2)), x)

________________________________________________________________________________________